package com.ruoyi.books.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图书信息对象 book_manage
 *
 * @author wt
 * @date 2025-03-15
 */
public class BookManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 书名 */
    @Excel(name = "书名")
    private String bookName;

    /** 图书类型 tag */
    @Excel(name = "图书类型 tag")
    private String bookType;

    /** 简介 */
    @Excel(name = "简介")
    private String bookBlurb;

    /** 状态 0：在库  1：借出   9：销毁 */
    @Excel(name = "状态 0：在库  1：借出   9：销毁")
    private String state;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public void setBookName(String bookName)
    {
        this.bookName = bookName;
    }

    public String getBookName()
    {
        return bookName;
    }

    public void setBookType(String bookType)
    {
        this.bookType = bookType;
    }

    public String getBookType()
    {
        return bookType;
    }

    public void setBookBlurb(String bookBlurb)
    {
        this.bookBlurb = bookBlurb;
    }

    public String getBookBlurb()
    {
        return bookBlurb;
    }

    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bookName", getBookName())
            .append("bookType", getBookType())
            .append("bookBlurb", getBookBlurb())
            .append("state", getState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
